<?php
/*
 * Created on Mar 30, 2010
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
?>
<?php $google_analytic = unserialize($setting['google_analytic']);?>
<h2>Edit Google Analytic</h2>
<div class="content-inner">
  <form action="<?=site_url(array('c' => 'cms_settings', 'm' => 'edit_google_analytic', 'id' => $setting['id']))?>" enctype="multipart/form-data" method="post">
  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="form-table">
    <tbody>
      <tr>
        <th>Enable: </th>
        <td>
        	<span>Yes <input type="radio" name="item_enable" value="1" <?=$google_analytic['enable']==1 ? "checked='true'" : ""?>/></span>
        	<span>No <input type="radio" name="item_enable" value="0" <?=$google_analytic['enable']==0 ? "checked='true'" : ""?>/></span>
        </td>
      </tr>
      <tr>
        <th>Script: </th>
        <td>
        	<textarea name="item_script" rows="8" cols="60"><?= $google_analytic['script'];?></textarea>
        </td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>
          <br/>
          <input type="button" class="input-button" onClick="javascript:history.back();" value="Cancel">
          <input name="Submit" type="submit" class="ins" value="Save"></td>
      </tr>
    </tbody>
  </table>
  </form>
</div>